package br.senac.sp.persistence.unityofwork.command;

import br.senac.sp.persistence.PersistenceFacade;

public class DeleteCommand<Entity, OID> extends AbstractCommand<Entity>{

    public DeleteCommand(Entity entity) {
        super(entity);
    }

    @Override
    public void execute() {
        PersistenceFacade.getInstance().remove(entity);
    }
}
